package com.itheima.set;

import java.util.HashSet;
import java.util.Set;

public class Demo1 {
    public static void main(String[] args) {
        Student s1 = new Student("柳淇", 22);
        Student s2 = new Student("柳淇", 22);

        Set<Student> set = new HashSet<>();

        System.out.println(s1.hashCode());
        System.out.println(s2.hashCode());
      
    }
}
